﻿-- =============================================
-- Author:		AmirHossein Javan
-- Create date: 1390/1/31
-- Description:	...
-- =============================================
CREATE PROCEDURE [dbo].[uspPayAndReceiveUpdate]
	@pkPayAndReceiveID int,
	@drawerID int,
	@date date,
	@description nvarchar(50),
	@type bit
	
	
AS
BEGIN
	SET NOCOUNT ON;

	Update [PayAndReceive]
	Set 
		[DrawerID] = @drawerID,
		[Date] = @date,
		[Description] = @description,
		[Type] = @type
		 
	WHERE 
		[PayAndReceiveID] = @pkPayAndReceiveID
END